<?php
/**
 * Created by PhpStorm.
 * User: wx:wenyi2048
 * Date: 2022/5/18 0018
 * Time: 15:37
 */

namespace app\common\validate\mk;


use think\Validate;

class Sms extends Validate
{
    protected $rule = [
        "type|验证类型" => "require|number",
        "phone|电话号码"  => "require|number|length:11",
    ];

    public $loginRule = [
        "code|验证码" => "require|number|length:6",
        //"wx_code|微信临时code" => "require",
        "phone|电话号码"  => "require|number|length:11",
    ];
}